package cn.tedu.myweb.entity;

import java.util.Date;

public class Resources {
    private Integer rid;
    private String name;
    private String md5;
    private String path;
    private Long size;
    private Integer upUid;
    private Date upTime;
    private Integer downTimes;
    private Integer quantity;   //保有量
    private Date gmtCreate;
    private Date gmtModified;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    @Override
    public String toString() {
        return "Resources{" +
                "rid=" + rid +
                ", name='" + name + '\'' +
                ", md5='" + md5 + '\'' +
                ", path='" + path + '\'' +
                ", size=" + size +
                ", upUid=" + upUid +
                ", upTime=" + upTime +
                ", downTimes=" + downTimes +
                ", quantity=" + quantity +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }

    public Integer getUpUid() {
        return upUid;
    }

    public void setUpUid(Integer upUid) {
        this.upUid = upUid;
    }

    public Long getSize() {
        return size;
    }

    public void setDownTimes(Integer downTimes) {
        this.downTimes = downTimes;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDownTimes() {
        return downTimes;
    }

    public void setSize(Long size) {
        this.size = size;
    }


    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }


    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }


    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
